package cn.com.api.service;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiSmslog;

@Service
public interface ApiSmslogService {
	// 验证手机号是否已注册
	public boolean checkPhone(String cTel);

	// 注册时保存验证信息
	public void saveSmslog(ApiSmslog apiSmslog);

	// 注册时，校验验证码是否正确
	public boolean checkCode(ApiSmslog apiSmslog);

	// 更新验证码状态
	public void updateSmslog(ApiSmslog apiSmslog);

	public String getCodeBymob(@Param("mob") String mob);

}
